package com.jiuyin.dianjing.constant;

import com.jiuyin.dianjing.BuildConfig;

public final class AppConstant {
    public static final String LOG_DIR_NAME = "log";
    public static final String CRASH_DIR_NAME = "crash";
    public static final String FILE_PREFIX = ".log";
    public static final String PROGRAM_APP_ID = BuildConfig.APPLICATION_ID;

    //删除2天以前的日志
    public static final int LOG_DELETE_DAYS = 2;

    //正则 搜索 字符串 ||
    public static final String SPLIT_STR = "\\|\\|";

    /**
     * 验证码倒计时时间(60s)
     */
    public static final long COUNT_DOWN_VERIFY_CODE_TIME = 60000L;


    /**
     * 倒计时单位(毫秒)
     */
    public static final long COUNT_DOWN_TIME_UNIT = 1000L;

    public static final String COUNT_DOWN_TIME_NAME = "秒";


    /**
     * 账号在其他设备登录，通知账号返回登录页面广播
     */
    public static final String ACTION_NEED_LOGIN = PROGRAM_APP_ID + ".ACTION_NEED_LOGIN";


    /**
     * 订单上传
     */
    public static final String ACTION_ORDER_UPLOAD = PROGRAM_APP_ID + ".ACTION_ORDER_UPLOAD";

    public static final String WEIBO_GONGYI = "https://gongyi.weibo.cn/h5/dt/profile/199205?help_id=238150&help_type=1&uid=5449885437";
    public static final String FOLDER_NAME = "jiuyindianjing/";

    public static final String URL_YS = "https://universal.jiuyinesports.com/ys.html";
    public static final String URL_FW = "https://universal.jiuyinesports.com/fw.html";

    //九宫格数量最多是9个
    public static final int MAX_PHOTO_SIZE = 9;

    //消息 赛事
    public static final String MSG_EXTRA_COMPETE = "extra_compete";

    /**
     * 极光系统ID
     */
    public static final String JG_SYSTEM_TARGET_ID = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";

    public static final String KEY_JG_USERNAME = "jgUsername";
    public static final String KEY_JG_PASSWORD = "jgPassword";
    public static final String KEY_JG_NICKNAME = "jgNickname";
    public static final String KEY_JG_LAST_SYSTEM_MSG = "jgLastSystemMsg";
    public static final String KEY_JG_NUM_MSG = "jgNumMsg";


}
